package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *权限
 */
@TableName("pe_permission")
@Data
public class Permission implements Serializable {

    private Long id;//主键

    private LocalDateTime createTime;//创建时间

    private String description;//权限描述

    private String name;//权限名称

    private Integer type;//权限类型 1为菜单 2为功能 3为API

    private Long pid;//主键

    private Long permissionApiExtendId;//主键ID

    private Long permissionMenuExtendId;//主键ID

    private Long permissionPointExtendId;//主键ID

}
